package cn.wolfcode.crm.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Setter
@Getter
public class Role {

    private Long id;
    //角色编号
    private String sn;
    //角色名称
    private String name;
    //角色权限的多对多关系
    private List<Permission> permissions = new ArrayList<>();
}